'use strict';

module.exports = app => {
  const { router, controller: { menu } } = app;
  // const userExist = app.middleware.userExist();
  const baseUrl = '/api/menu';
  router.get(baseUrl, menu.all);
};
